package com.hup.utils.io.netty.model;

import com.hup.utils.io.netty.NettyConstant.DataType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 异常信息数据
 *
 * @author hugan
 * @date 2021/4/25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExceptionResponseData implements BaseDataPacket {

    private String msg;

    @Override
    public int getType() {
        return DataType.EXCEPTION;
    }
}
